Static Single Information Form for Abstract Compilation

نویسندگان

  • Davide Ancona
  • Giovanni Lagorio
چکیده

In previous work we have shown that more precise type analysis can be achieved by exploiting union types and static single assignment (SSA) intermediate representation (IR) of code. In this paper we exploit static single information (SSI), an extension of SSA proposed in literature and adopted by some compilers, to allow assignments of more precise types to variables in conditional branches. In particular, SSI can be exploited rather easily and effectively to infer more precise types in dynamic object-oriented languages, where explicit runtime typechecking is frequently used. We show how the use of SSI form can be smoothly integrated with abstract compilation, our approach to static type analysis. In particular, we define abstract compilation based on union and nominal types for a simple dynamic object-oriented language in SSI form with a runtime typechecking operator, to show how precise type inference can be.

برای دانلود رایگان متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

The Static Single Information Form

The Static Single Information (SSI) form is a compiler intermediate representation that allows efficient sparse implementations of predicated analysis and backward dataflow algorithms. It possesses several attractive graph-theoretic properties which aid in program analysis. An extension to SSI form, SSI+, is also presented, along with a complete executable abstract semantics for the representat...

متن کامل

Separate Abstract Interpretation for Control-Flow Analysis

Effect systems and abstract interpretation are two methods to perform static analysis of programs. We present a new technique that builds upon the type and effect information of module signatures to extend abstract interpretation in the context of separate compilation. We use control-flow analysis as an application of this idea to support our claim. Control-flow analysis strives to determine at...

متن کامل

Implementation of a Low- Cost Multi- IMU by Using Information Form of a Steady State Kalman Filter

In this paper, a homogenous multi-sensor fusion method is used to estimate the trueangular rate and acceleration with a combination of four low cost (< 10$) MEMS Inertial MeasurementUnits (IMU). An information form of steady state Kalman filter is designed to fuse the output of four lowaccuracy sensors to reduce the noise effect by the square root of the number of sensors. A hardware isimplemen...

متن کامل

NAC: A lightweight intermediate representation for ASIP compilers

ASIP processors are tuned for optimized mapping of narrow application sets in heterogeneous platforms. Their successful development relies on compiler-based design space exploration. The careful design of the compiler intermediate language is a necessity, due to its dual purpose as both the program representation and an abstract target machine. Its design affects the complexity, efficiency and ...

متن کامل

Java Compilation for Multi-threaded Architectures

This paper outlines the design of a compilation framework for applications in embedded systems programmed in Java and targeted at multi-threaded architectures. These architec-tures have multiple Thread Processing Units (TPUs) to support loop-level parallelism, where each TPU employs instruction-level parallelism, and data and control speculation techniques to improve performance. The paper desc...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2012